import {createStore,combineReducers,applyMiddleware} from 'redux'
import HandleReducer from './reducers/HandleReducer'
import ListReducer from './reducers/ListReducer'
import reduxThunk from 'redux-thunk'
import reduxPromise from 'redux-promise'

const reducer=combineReducers({
    HandleReducer,ListReducer
})
const store=createStore(reducer,applyMiddleware(reduxThunk,reduxPromise))

export default store

